package com.tang.lts.core.autoconfigure.annotation;

import java.lang.annotation.*;

/**
 * @author Tang
 * @classname ConfigurationProperties
 * @description [  ]
 * @date 2022/4/12 21:27
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.TYPE,ElementType.METHOD})
@Inherited
public @interface ConfigurationProperties {

    /**
     * 前缀
     * @return
     */
    String prefix() default "";

    /**
     * 指定文件位置
     * @return
     */
    String[] location() default {};

}